package com.panshi.service.impl;

import com.panshi.mapper.ISeckillMapper;
import com.panshi.pojo.Seckill;
import com.panshi.service.ISeckillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SeckillServiceImpl implements ISeckillService {

    @Autowired
    ISeckillMapper iSeckillMapper;

    @Override
    public List<Seckill> getSeckillAll() {
        return iSeckillMapper.getSeckillAll();
    }
}
